﻿using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Autofac;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace FlyingEye.ApplicationTests
{
    [DependsOn(
        typeof(AbpAutofacModule),
        typeof(DeviceOpsServiceApplicationModule))]
    public class ApplicationTestModule : AbpModule
    {
        public ApplicationTestModule()
        {
        }

        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            this.Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddProfile<TestApplicationProfile>();
            });

            context.Services.AddHttpClient();

            base.ConfigureServices(context);
        }

    }
}
